package com.woniuxy.main.service.imp;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.woniuxy.main.mapper.Gym_imageMapper;
import com.woniuxy.main.pojo.Gym_image;
import com.woniuxy.main.service.Gym_imageService;

import lombok.Data;
@Service
@Data
@Transactional
public class Gym_imageServiceImp implements Gym_imageService {
	@Resource
	private Gym_imageMapper gym_imageMapper;
	@Override
	public List<Gym_image> findImagesByGid(int gid) {
		// TODO Auto-generated method stub
		return gym_imageMapper.findImagesByGid(gid);
	}

}
